package com.bwie.dao;

import com.bwie.entity.Seckill;

import java.util.List;

public interface SeckillDao {

    List<Seckill> list();

    Seckill findBySeckillByMid(Integer id);

    Seckill findSeckillById(Integer id);

    int updateSubtractNum(Integer msg);

    int updatePulstNum(Integer msg);

    int findByNum(Integer seckillMiddleId);

    Seckill findByGoodsId(Integer shopId);
}
